package com.cksys.achievement.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @ClassName: ResultStatus
 * @author: zyx
 * @E-mail: 1377631190@qq.com
 * @DATE: 2020/4/10 19:24
 */
@Getter
@AllArgsConstructor
public enum ResultStatus {

    /**
     * UNAUDITED    未审核
     * PASSED       已通过
     * NOTPASS      未通过
     */
    UNAUDITED("UNAUDITED", 0),
    PASSED("PASSED", 1),
    NOTPASS("NOTPASS", 2);

    @JsonValue
    private String resultStatusJson;

    @EnumValue
    private Integer resultStatus;

}
